package com.lovegu.object.up;

/**
 * @author 老顾
 * @title: JavaBean
 * @projectName java-restudy
 * @email: 1437594522@qq.com
 * @date 2022/9/20 21:52
 */
public class JavaBean {
    private String name; // 属性一般定义为private
    private int age;
    public JavaBean() {
    }
    public int getAge() {
        return age;
    }
    public void setAge(int a) {
        age = a;
    }
    public String getName() {
        return name;
    }
    public void setName(String n) {
        name = n;
    }
}
